Release 10.1A: OpenEdge Development:
Messaging and ESB
publish procedure
Publishes a message to a topic.
Syntax
Parameters
topicNameThe topic to which the message is published. If the publication is in reply to a received message,
topicNamecan be theReplyTofield obtained from the original message.messageThe Message object.
priorityThe message priority (optional): 0–9. Session default is used if UNKNOWN.
timeToLiveTime to live, in milliseconds (optional). Session default is used if UNKNOWN.
deliveryModeThe delivery mode (optional):
PERSISTENT,NON_PERSISTENT,NON_PERSISTENT_ASYNC,DISCARDABLE, orUNKNOWN(?). Session default is used if UNKNOWN.Applies to
Session objects
Notes
See also
cancelDurableSubscription procedure, publish procedure, subscribe procedure
For more information, see the "Publishing messages to a topic" section, the "Subscribing to a topic" section, the "Durable subscriptions" section, and the "Methods unique to Pub/Sub messaging" section.
For an example, see the "Pub/Sub messaging example" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |